/*    */ package cc.s2m.web.s2mBlog.service.impl;
/*    */ 
/*    */ import cc.s2m.web.s2mBlog.dao.ArticlesMapper;
/*    */ import cc.s2m.web.s2mBlog.pojo.Articles;
/*    */ import cc.s2m.web.s2mBlog.service.IArticles;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class ArticlesImpl extends BaseServiceImpl<Articles, ArticlesMapper, Integer>
/*    */   implements IArticles
/*    */ {
/*    */ 
/*    */   @Autowired
/*    */   private ArticlesMapper articlesMapper;
/*    */ 
/*    */   protected ArticlesMapper getDao()
/*    */   {
/* 15 */     return this.articlesMapper;
/*    */   }
/*    */ 
/*    */   public int addViewNumber(int id)
/*    */   {
/* 20 */     return getDao().addViewNumber(id);
/*    */   }
/*    */ 
/*    */   public int addCommentNumber(int id)
/*    */   {
/* 25 */     return getDao().addCommentNumber(id);
/*    */   }
/*    */ 
/*    */   public int removeCommentNumber(int id)
/*    */   {
/* 30 */     return getDao().removeCommentNumber(id);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\s2mBlog.zip
 * Qualified Name:     s2mBlog-3.0.0.WEB-INF.classes.cc.s2m.web.s2mBlog.service.impl.ArticlesImpl
 * JD-Core Version:    0.6.1
 */